package net.csdra;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

@SpringBootApplication
public class WenhuazhandianApplication {

    public static void main(String[] args) {
        SpringApplication.run(WenhuazhandianApplication.class, args);
    }

    @Bean
    String hostname(@Value("${hostname}") String hostname) {
        return hostname;
    }
}
